package com.mojavelinux.open18;

import static org.jboss.seam.ScopeType.PAGE;

import java.io.Serializable;

import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

@Name( "tabIndex" )
@Scope( PAGE )
public class TabIndexCounter implements Serializable {

	private static final long serialVersionUID = 1L;

	private int index = 1;

	public int getNext() {
		return index++;
	}
}
